package com.yserp.project.erp.order.purchorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yserp.project.erp.order.purchorder.domain.PurchOrderItem;

import java.util.List;

/**
 * 采购订单子Service接口
 *
 * @author yserp
 * @date 2022-08-02
 */
public interface IPurchOrderItemService extends IService<PurchOrderItem> {


    /**
     * 查询采购订单子列表
     *
     * @param purchOrderItem 采购订单子
     * @return 采购订单子集合
     */
    public List<PurchOrderItem> selectPurchOrderItemList(PurchOrderItem purchOrderItem);

    /**
     * 通过主表ID查询列表数据
     * @param mainId 主表ID
     * @return
     */
    public List<PurchOrderItem> selectPurchOrderItemListByMainId(Long mainId);


}
